package com.example.myapplication;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;

import com.example.myapplication.module.BModule;
import com.example.myapplication.module.CModule;
import com.example.myapplication.module.ModuleTest;
import com.google.gson.Gson;

import javax.inject.Inject;

import dagger.Lazy;


public class MainActivity extends AppCompatActivity {



//    @Inject
//    ModuleTest moduleTest;

    String TAG = "MainActivity";
    @Inject
    CModule cModule;

    @Inject
    Gson gson;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        App.get(MainActivity.this).getUtilCompoent().inject(this);
//        test.log();
        Log.e(TAG,cModule.hashCode()+"");




        startActivity(new Intent(this,TwoActivity.class));
    }
}